package com.zhongc.advance.common.result;

import java.io.Serializable;
import java.util.List;

public class Results implements Serializable{
	private static final long serialVersionUID = -656083826615770161L;
	/** 结果状态 */
	private Status status;
	
	/** 信息码 */
	private String code;
	
	/** 描述 */
	private String description;
	
	/** 当前页*/
	private int curPage;
	
	/** 显示页数*/
	private int pagSize;
	
	/** 总页数 */
	private int pages;
	
	/** 返回结果 */
	protected List<?>  result;

	public Status getStatus() {
		return status;
	}

	public void setStatus(Status status) {
		this.status = status;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getCurPage() {
		return curPage;
	}

	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}

	public int getPagSize() {
		return pagSize;
	}

	public void setPagSize(int pagSize) {
		this.pagSize = pagSize;
	}

	public int getPages() {
		return pages;
	}

	public void setPages(int pages) {
		this.pages = pages;
	}

	public List<?> getResult() {
		return result;
	}

	public void setResult(List<?> result) {
		this.result = result;
	}
	
	
	
}
